import {useLocation} from 'react-router-dom';
const Shop = () => {
    const {state} = useLocation();
    console.log(state);
    return (
        <div>this is shopPage</div>
    )
}

export default Shop;